<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>导入盘点商品</title>
<body class="withvernav">
<style type="text/css">
	.stdform2 span.field, .stdform2 div.field{padding:15px;}
	.stdform2 label{padding:15px;}
	.shop_data div{
	
	}
	.selected{background-color:#e74003}
</style>
<div class="bodywrapper">
    {{include file='/public/leftmenu.tpl'}}
    <div class="centercontent">
        <div class="pageheader notab">
            <h1 class="pagetitle">导入盘点商品</h1>
            <span class="pagedesc"><br></span>
            <div class="menulist">
                <ul class="profile_summary">
                    <li><a href="/purchase/inputstock"><span>盘点日志列表</span></a></li>
                    <li><a href="/purchase/handinputstock"><span>盘点操作</span></a></li>
                    <li><a href="/factorydetail/ajaxbutton?op=stockGoods"><span>查询仓位商品</span></a></li>
                    <li class="current"><a href="/factorydetail/ajaxbutton?op=importGoodsStock"><span>导入盘点商品</span></a></li>
                </ul>
          </div>
      </div>
      <!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">

            <div id="basicform" class="subcontent">

                <!--contenttitle-->

                <form id="form" class="stdform stdform2" enctype="multipart/form-data" method="post" action="/factorydetail/ajaxbutton?op=doImportGoodsStock">
                    <p>
                        <label>盘点商品excel：</label>
                        <span class="field">
                            Excel表：<input  type="file" name="file_excel" />
              			</span>
                    </p>
                    <p>
                        <label>盘点商品数据模板：</label>
                        <span class="field"><a href="/fuman/Exceltemplate/goodsstock_temp.xlsx" target="_blank">DHL导入excel模板</a> &nbsp;
                        </span>
                    </p>
                    <p>
                        <label> </label>
						<span class="field">
                        <button id="btn" type="submit" onClick="return setPostUrl()" class="submit radius2">执行导入</button>
                        </span>
                    </p>
                </form>

                <br />

            </div><!--subcontent-->

            <!--subcontent-->

        </div><!--contentwrapper-->

    </div><!-- centercontent -->


</div><!--bodywrapper-->

<script type="text/javascript">
	function setPostUrl(){
		var check_exp_types=",2,3,4,5,10,14";
		var expresstype=$("#deliverType").val();
		/*if(check_exp_types.indexOf(expresstype)>0 || expresstype==1){
			$("#form").attr("action","/CheckExpressPrice/checkDataValidity");	
		}else{
			$("#form").attr("action","/orderexcel/doBillWithExpress");	
		}	*/	
	}
</script>

</body>
</html>


